import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ResourcesRoutingModule } from './resources-routing.module';
import {FormsModule, ReactiveFormsModule} from "@angular/forms";

import { ResourcesComponent } from './resources.component';
import { ResourceAddComponent } from './resource-add/resource-add.component';
import { ResourceUpdateComponent } from './resource-update/resource-update.component';
import {ResourcesService} from "./resources.service";
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ResourcesRoutingModule,
    FormsModule,
    ReactiveFormsModule,
    OneOperationModule
  ],
  declarations: [
    ResourcesComponent,
    ResourceAddComponent,
    ResourceUpdateComponent
  ],
  providers: [
    ResourcesService
  ]
})
export class ResourcesModule { }
